|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Simple FTP Question
I want to know if you have a large directory with 100,000 + files that normally times out when opening the correct way to save files to it using ftp, without opening it completely.
Here's what i mean If I try and open the dir it is too big and fails to open. Now I need to save files to it and I know I can with out opening the whole file. The two ways I saved a file to that dir from the ftp program was 1. I was able to click on a file in another dir that was on the server and right clicked and selected move to and then selected the correct path to the large directory and bam, it moved it quick and i tested the url to that picture and it was there, no timeout just there instantly. The second way i did was I clicked on a file on my computer side of the ftp program and dragged it to the large directory which was visible but not open meaning I was is sa httpdocs/mysite/images the large file would be in this example at httpdocs/mysite/images/largedir so I just dragged the file over the folder /largedir and it dropped the picture in it no problem.. So my question is for programming sake to upload pics from a program that mimicks the ftp process what commands or how do you tell the ftp to drop the item in a particular file with our opening it, basically to mimick what i did... Anyone? |
|
#3
|
||||
|
||||
|
or have better organization. 100,000+ files sitting there is not a good idea for keeping trakc of things, I would think.
__________________
Raid1 in XP Pro My open source projects: ------------------------ Blobber - Add images as blobs to SQL Server ------------------------ |
|
#4
|
|||
|
|||
|
Well not sure if this will help but here is the .net code for image uploading you see it has the "put" command but it still seems to be trying to open the whole dir any thoughts on a different command to use or how the path to the image directory anything?
Quote:
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Simple FTP Question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|