473,387 Members | 2,436 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Opening the files

164 100+
Hi all,

I want to store my files in to a web path. Not like uploading. If I have given a web path then all the files should be stored into that web path. For eg the files should be stored into www.sss.com/input/

In the input folder my files should be stored directly.
Give me some ideas.

Thank you
Jul 23 '07 #1
13 1123
Killer42
8,435 Expert 8TB
First idea: tell us what version of VB you are using.
Jul 23 '07 #2
arunbalait
164 100+
First idea: tell us what version of VB you are using.

Thanx.. Am using VB 6.0
Jul 23 '07 #3
hariharanmca
1,977 1GB
Thanx.. Am using VB 6.0
one thing, can you explain in detail?

Are you using VB script.


if you want to store directly through VB 6.0 Code

Expand|Select|Wrap|Line Numbers
  1.     Dim objFileSystemObject As Object
  2.     Set objFileSystemObject = CreateObject("Scripting.FileSystemObject")
  3.     objFileSystemObject.CopyFile strSourceFilePath, strDestinationPath
i think this will help you.
Jul 23 '07 #4
arunbalait
164 100+
one thing, can you explain in detail?

Are you using VB script.


if you want to store directly through VB 6.0 Code

Expand|Select|Wrap|Line Numbers
  1.     Dim objFileSystemObject As Object
  2.     Set objFileSystemObject = CreateObject("Scripting.FileSystemObject")
  3.     objFileSystemObject.CopyFile strSourceFilePath, strDestinationPath
i think this will help you.
Yep am using vb 6.0 not vb script.

I want to store the files( whatever the files may be) in a web site's path.
Similar to uploading.
Jul 23 '07 #5
hariharanmca
1,977 1GB
Yep am using vb 6.0 not vb script.

I want to store the files( whatever the files may be) in a web site's path.
Similar to uploading.

can you post, what you had tried? so that i can get some thing.
Jul 23 '07 #6
arunbalait
164 100+
can you post, what you had tried? so that i can get some thing.

Hi,

For eg you have some msword files downloaded from a website. Then you have modified those files and saved them. Then you have to replace that file where you downloaded or store it in the same location where you have downloaded.

Rather downloading I used web browser control to open those msword files.

And also tell me how to open a file without downloading. By using browser control, it downloads the file to the local drive. But I dont want to download.

Got it?

Similar to copying a file and paste it in a lan server's some specified path I have to store in a web site's path.

Thanx
Jul 23 '07 #7
Killer42
8,435 Expert 8TB
Sounds like a job for the internet transfer control.
Jul 23 '07 #8
arunbalait
164 100+
Sounds like a job for the internet transfer control.

Yeah but how to use that control for my tasks. Am no much familiar with Internet Transfer control.

All the thing I found yet is FTPs and Uploading and downloading for transfering files. I dont want any of these. I just wanna store without using FTP and Uploading concepts.

Thanx
Jul 24 '07 #9
arunbalait
164 100+
hi

Please help me somebody..

I can able to go through the next stage only after completing this module.

plz gve me some ideas
Jul 25 '07 #10
Killer42
8,435 Expert 8TB
I recommend you read the documentation for the Internet Transfer Control. I haven't used it, but from what I see in the doco it seems reasonably straightforward.

You might find further information here or here.
Jul 25 '07 #11
arunbalait
164 100+
I recommend you read the documentation for the Internet Transfer Control. I haven't used it, but from what I see in the doco it seems reasonably straightforward.

You might find further information here or here.


Hi...

Thanx


That topic was much helpful for me. But there too I found a lot only about FTP..

It gives ideas under ftp only.

I dont need ftp...
There also ideas for opening the file and not to save or store them again.

Thanx for your links
Jul 30 '07 #12
Killer42
8,435 Expert 8TB
That topic was much helpful for me. But there too I found a lot only about FTP..
It gives ideas under ftp only.
I dont need ftp...
There also ideas for opening the file and not to save or store them again.
I think that to transfer a file to/from a URL, you do need to use either the FTP or HTTP protocol. But I'm not really familiar with this area. Perhaps you could try asking in the Misc Questions forum, or one of the web development forums?
Jul 30 '07 #13
arunbalait
164 100+
I think that to transfer a file to/from a URL, you do need to use either the FTP or HTTP protocol. But I'm not really familiar with this area. Perhaps you could try asking in the Misc Questions forum, or one of the web development forums?
Ya ok... Thanx

Am developing the project in VB only thats why I asked in this forum.

Thanks
Aug 1 '07 #14

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: PM | last post by:
Has anyone found a way to open a file exclusively where it will fail if the file is already open, i have tried the following _FileStream = new FileStream(@"C:\Data.txt", FileMode.Open,...
1
by: Alfons | last post by:
Hello, I have build a program that can do file transferring between a Windows XP computer and a DOS computer via a serial port. The Windows program I have build in C++ with Visual Studio 6.0....
1
by: sunil | last post by:
Hi all, I have a web application in which I have to open a "chm" file that exists on the local file system. I am able to open other files such as PDF, DOC files by writing the Response's output...
11
by: emailus | last post by:
I am webmaster for the domain <www.alpha1.org.au>. Not being an expert in html, I take advantage of my domain Registrant's web building tool, 'Instant Website'. This tool is provided as part of...
9
compman9902
by: compman9902 | last post by:
Hello, and thank toy for reading this post. Thus far, this website has helped me a lot, (I have finally finished my encryptor: "site removed by moderator", go to the downloads link) and I will...
0
by: Jeremy Noring | last post by:
Hi, I have an application that loads various settings from the app.exe.config file. This has worked very well on w2k, XP, and Vista. However, recently I've been troubleshooting an issue on...
10
by: kimiraikkonen | last post by:
Hi, I have an app which has a listbox and when i double click an associated fileS, i want their paths to be added into listbox in my application. This code works good when i try to open a...
6
by: bushwacker | last post by:
Hello all, I'm a chemical engineering student. our teacher has given us a project to do some calculations based on some equations. those equations include constants, which are to be read from a...
34
by: Alexnb | last post by:
Gerhard Häring wrote: No, it didn't work, but it gave me some interesting feedback when I ran it in the shell. Heres what it told me: Traceback (most recent call last): File...
1
navanova
by: navanova | last post by:
Greetings, I have a problem of opening ms word and excel files on my computer. The files are there for a long time. I use to open and modify them. Suddenly, when i try to open the word files, a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.