Hi,
I have a string (full path): website/folder1/folder1/myimage.jpg (String!)
I want to extract the filename "myimage.jpg"
furthermore I need the fileextension "jpg"
thanks for any suggestions and links
Chris
Search found 4 matches
- Sat Jan 26, 2013 3:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: What is the best way to get the filename of full path
- Replies: 1
- Views: 2243
- Wed Jan 23, 2013 3:27 pm
- Forum: Internet
- Topic: Upload Video per FTP
- Replies: 3
- Views: 5091
Re: Upload Video per FTP
thanks for your answer and suggestion.
Do you have a short code example or link to one of a "recursive send loop"?
Do you have a short code example or link to one of a "recursive send loop"?
- Fri Jan 18, 2013 8:18 pm
- Forum: Internet
- Topic: Upload Video per FTP
- Replies: 3
- Views: 5091
Re: Upload Video per FTP
Hi,
I found a first solution:
I replace: put tFileForUpload into URL theURL
to:
put tFileForUpload into theFilePath
open file theFilepath for binary read
read from file theFilePath until end
put it into theBinaryData
close file theFilePath
put theBinaryData into URL theURL
the other question: is ...
I found a first solution:
I replace: put tFileForUpload into URL theURL
to:
put tFileForUpload into theFilePath
open file theFilepath for binary read
read from file theFilePath until end
put it into theBinaryData
close file theFilePath
put theBinaryData into URL theURL
the other question: is ...
- Fri Jan 18, 2013 8:08 pm
- Forum: Internet
- Topic: Upload Video per FTP
- Replies: 3
- Views: 5091
Upload Video per FTP
Hi,
I am trying to upload a video to a ftp-server. Uploading an image is no problem. With the code below I also can upload a file, but not the video. The content of the file is only the path, if I open the file with an editor.
For pick the video I have an external av from mergext
the problem is the ...
I am trying to upload a video to a ftp-server. Uploading an image is no problem. With the code below I also can upload a file, but not the video. The content of the file is only the path, if I open the file with an editor.
For pick the video I have an external av from mergext
the problem is the ...