OK, how to I move remote files using inet control or wininet APIs?
eg
move /abc123/file.txt to /abc123/archive/file.txt
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
Printable View
OK, how to I move remote files using inet control or wininet APIs?
eg
move /abc123/file.txt to /abc123/archive/file.txt
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
Use rename file1 file2
Inet1.Execute "FTP://user:[email protected]", "rename dir/file_from dir/file_to"
It executes 2 raw commands
Send, RNFR file_from
Recv, 350 ...
Send, RNTO file_to
Recv, 250 ...
Now help me with my space problem :)
PS. You sure UNIX doesn't support spaces? i see lot's of mp3's with spaces in the name and i beleive some of them are located on UNIX machines.
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl
[This message has been edited by Azzmodan (edited 01-26-2000).]
Thanks Azzmodan
I am 99.99% certain that you can't have spaces in filenames on UNIX.
What makes you think these mp3 files are on a UNIX boxes?
------------------
Mark Sreeves
Analyst Programmer
[email protected]
A BMW Group Company
I ain't sure they are, but i found a lot of files with spaces, so i figured that atleast some of them should be on a UNIX box.(Guess im wrong)
Does the unix filesystem system support spaces? if so how are they translated(?) to ftp, or doesn't it support spaces in a filename at all.
------------------
Vincent van den Braken
EMail: [email protected]
ICQ: 15440110
Homepage: http://www.azzmodan.demon.nl
The UNIX/Linux (ext2) filesystem does support spaces, similar to the Fat32 filesystem. It just treats them as spaces.
------------------
Regards,
Paul Rivoli
-------------------
[email protected]
http://users.bigpond.com/privoli
If you need more help with the inet control, check out http://www.vbsquare.com/internet for my series on using the control.
------------------
"To the glory of God!"